import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'home',
      component: ()=>import('../views/ResultVue.vue')
    },
    {
      path:"/basics",
      name:"basics",
      component:()=>import('../views/BasicsVue.vue'),
      children:[
        {//我的页面--纪治良
          path:'/mine_one',
          name:'mine_one',
          component:()=>import('../components/mine/MineOneVue.vue')
        },
        {//视频--郝丹丹
          path:'/video_one',
          name:'video_one',
          component:()=>import('../components/video/VideoOneVue.vue')
        },
        
        {//首页--张泽浩
          path:'/home_one',
          name:'home_one',
          component:()=>import('../components/home/HomeOneVue.vue')
        },
        {//消息--赵路通
          path:'/message_one',
          name:'message_one',
          component:()=>import('../components/message/MessageOneVue.vue')
        }
        
      ]
    },
    {//酒店首页，别忘记写支付哦，那是你的亮点哦！--刘畅硕
      path:'/hotel_home_one',
      name:'hotel_home_one',
      component:()=>import('../components/hotel/hotelhome/HotelHomeOne.vue')
    },
    {//酒店列表--杨森森
      path:'/hotel_list_one',
      name:'hotel_list_one',
      component:()=>import('../components/hotel/hotellist/HotelListOne.vue')
    },
    {//验证码登录,我会先写好与我的关联那个页面，你可以先写验证码登录--翟经民
      path:'/register_one',
      name:'register_one',
      component:()=>import('../components/register/RegisterOneVue.vue')
    },
    {//密码登录,我会先写好与我的关联那个页面，你可以先写验证码登录--翟经民
      path:'/register_two',
      name:'register_two',
      component:()=>import('../components/register/RegisterTwoVue.vue')
    },
    {//人脸识别登录,我会先写好与我的关联那个页面，你可以先写验证码登录--翟经民
      path:'/face',
      name:'face',
      //@ts-ignore
      component:()=>import('../components/register/Face.vue')
    },
    {//忘记密码,我会先写好与我的关联那个页面，你可以先写验证码登录--翟经民
      path:'/forgetpwd',
      name:'forgetpwd',
      //@ts-ignore
      component:()=>import('../components/register/ForgetPwd.vue')
    },
    {//新密码,我会先写好与我的关联那个页面，你可以先写验证码登录--翟经民
      path:'/newpwd',
      name:'newpwd',
      //@ts-ignore
      component:()=>import('../components/register/NewPwd.vue')
    },
    {//绑定手机号登录,我会先写好与我的关联那个页面，你可以先写验证码登录--翟经民
      path:'/bindtel',
      name:'bindtel',
      component:()=>import('../components/register/BindTel.vue')
    },
    {//一键登录,我会先写好与我的关联那个页面，你可以先写验证码登录--翟经民
      path:'/onekey',
      name:'onekey',
      //@ts-ignore
      component:()=>import('../components/register/OneKey.vue')
    },
    {
      path:'/personage',
      name:'personage',
      component:()=>import('../components/mine/mineOne/personageVue.vue')
    },
    {
      path:"/mineTwo",
      name:"mineTwo",
      component:()=>import('../components/mine/mineOne/mineTwoVue.vue')
    }
  ]
})

export default router
